package haiyangwangwork.day03.homework;

public class Main {
    public static void main(String[] args) {
        Programmer p1=new Programmer("小杨",3,3,"华为");
        p1.setAge(15);
        Programmer p2=new Programmer("小明",1,1,"海洋王");
        p2.setAge(25);
        Programmer p3=new Programmer("小胡",2,3,"朗沃");
        p3.setAge(36);
        Programmer p4=new Programmer("小美",3,1,"oppo");
        p4.setAge(29);
        Programmer p5=new Programmer("小张",1,2,"腾讯");
        p5.setAge(25);
        Programmer p6=new Programmer("小红",2,2,"小米");
        p6.setAge(24);
        Programmer p7=new Programmer("小方",1,3,"红米");
        p7.setAge(21);
        Programmer p8=new Programmer("小邓",2,1,"美团");
        p8.setAge(20);
        Programmer p9=new Programmer("小马",3,2,"蚂蚁金服");
        p9.setAge(23);
        p1.work();
        p2.work();
        p3.work();
        p4.work();
        p5.work();
        p6.work();
        p7.work();
        p8.work();
        p9.work();
    }
}
